<div id="show">gg</div>
<script>
    var msg = AppInterface.version();
document.getElementById('show').innerHTML = msg;
</script>